﻿using NetCore.Model.Enity;
using NetCore.Model.VeiwModels;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace NetCore.IServices.Order_LayerwinDingmachineEquipment
{
    public interface IOrder_layerwindingmachineequipmentService : IBaseService<OrderLayerwindingmachineequipment>
    {
        /// <summary>
        /// 缓存添加班次比例
        /// </summary>
        /// <returns></returns>
        Task<bool> AddShiftProportionRedis();

        /// <summary>
        /// 统计指定月份每天数据
        /// </summary>
        /// <returns></returns>
        Task<List<DayCount>> Month_StatisticsDailyData(Month_StatisticsDailyDataFrom statisticsDailyDataFrom);

        /// <summary>
        /// 统计指定年份每月数据
        /// </summary>
        /// <param name="year_StatisticsDailyDataFrom"></param>
        /// <returns></returns>
        Task<bool> Year_StatisticsDailyData(Year_StatisticsDailyDataFrom year_StatisticsDailyDataFrom);
    }
}